<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>合作商家</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" href="css/center.css" type="text/css">
</head>

<body>
	<jsp:include page="top.jsp"></jsp:include>
	<div
		style="width: 970px;height: 40px;margin-top: 10px;margin-left: 170px;"></div>
	<div id="main" style="height: 600px;">
	<table>
	<tr>
	<td width="150px">商家名</td>
	<td width="110px">联系电话</td>
	<td width="100px">地址</td>
	<td width="80px">负责人</td>
	<td width="300px">广告</td>
	</tr>
	<s:iterator value="#session.companies" var="c" status="status">
				<s:if test="#status.even">
				<tr style="background:#efefff">
				</s:if>
				<td>${companyName}</td>
				<td>${companyTel}</td>
				<td>${companyAddress}</td>
				<td>${companyManager}</td>
				<td><s:iterator value="#session.companyTextes" var="t">
					<s:if test="sendId==companyId">
						${text}<br>
					</s:if>
				</s:iterator>
				</td>
				</tr>
	</s:iterator>
	</table>
	</div>
</body>
</html>
